package com.jianyun.jyzs.db;

/**
 * Created by yangshijun on 2018/6/28.
 */

public class PushEvent {
    /**
     * 0 应用界面更新
     * 1 工程动态新增推送
     * 2 工程动态点赞推送
     * 3 工程动态评论推送
     * 4 ..OA界面更新小红点提示
     * 5 工单详情显示
     * 6 工单删除人员
     * 7 工单被删除
     * 8 质量单被删除
     * 9 安全单被删除
     */
    private int category;
    private String  id = "0";//操作的数据ID

    public PushEvent(int category, String id) {
        this.category = category;
        this.id = id;
    }

    public PushEvent(int category) {
        this.category = category;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "PushEvent{" +
                "category=" + category +
                ", id='" + id + '\'' +
                '}';
    }
}
